package com.yuntu.entity;

/**
 * @author MrWang-shuizhishuiheshui
 * @description  科目表 实体类
 */
public class Subject {
    //属性
    private int subjectNo;
    private String subjectName;
    private int classHour;
    private int gradeId;
    //构造
    public Subject() {
    }
    public Subject(String subjectName, int classHour, int gradeId) {
        this.subjectName = subjectName;
        this.classHour = classHour;
        this.gradeId = gradeId;
    }
    public Subject(int subjectNo, String subjectName, int classHour, int gradeId) {
        this.subjectNo = subjectNo;
        this.subjectName = subjectName;
        this.classHour = classHour;
        this.gradeId = gradeId;
    }
    //对外方法
    public int getSubjectNo() {
        return subjectNo;
    }
    public void setSubjectNo(int subjectNo) {
        this.subjectNo = subjectNo;
    }
    public String getSubjectName() {
        return subjectName;
    }
    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }
    public int getClassHour() {
        return classHour;
    }
    public void setClassHour(int classHour) {
        this.classHour = classHour;
    }
    public int getGradeId() {
        return gradeId;
    }
    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }
}
